package cn.com.jit.hl.demo.pattern.factory.method;

import cn.com.jit.hl.demo.pattern.factory.simple.Fruit;
import cn.com.jit.hl.demo.pattern.factory.simple.Pear;

public class PearFactory implements FruitFactory {
    @Override
    public Fruit createFruit() {
        return new Pear();
    }
}
